<include file="Common:header"/>
  	<title>【OSA】商城</title>
	<css file="__PUBLIC__/Index/css/goodscont.css"/>
	<js file="__PUBLIC__/js/jquery-1.8.2.min.js"/>
	<script type="text/javascript">
		var imgspath = '__PUBLIC__/Index/images/';
		var getSpecDataPath = "{:U('ajaxGetSpecData')}";
		var toCartPath = "{:U('Cart/goodsToCart')}";
	</script>
	<js file="__PUBLIC__/Index/js/goodscont.js"/>
	<include file="Common:topmenubar"/>
	<div class="goodscont">
		<div class="postion">
			当前位置：<a href="{:U('Index/index')}">首页</a>
			<foreach name="parentCates" item="val">
				<if condition="$val['pid'] eq 0">
					><a href="{:U('Goodslist/index')}">分类列表</a>
				<else/>
					><a href="{:U('Goodslist/index' , array('cid'=>$val['id']))}">{$val.name}</a>
				</if>
			</foreach>
			>{$goodsInfo.name}
		</div>
		<!-- 商品详情部分 -->
		<div class="gsintro">
			<!-- 商品左侧展示图 -->
			<div class="gsintro_left">
				<div class="gs_mediuimg">
					<div class="tocartshow">
						<img src="{$goodsInfo.medium.0}"/>
					</div>
					<img src="{$goodsInfo.medium.0}"/>
					<foreach name="goodsInfo.medium" item="val">
							<imgs src="{$val}">	</imgs>
					</foreach>
				</div>
				<div class="gs_maximg">
					<img src="{$goodsInfo.max.0}" />
					<foreach name="goodsInfo.max" item="val">
							<imgs src="{$val}">	</imgs>
					</foreach>
				</div>
				<ul class="gs_miniimg">
					<foreach name="goodsInfo.mini" item="val">
						<li>
							<a href="javascript:void(0)">
								<img class="minipic" src="{$val}" alt="" width="60px" height="60px" />
							</a>
						</li>
					</foreach>
				</ul>
			</div>	<!-- 商品左侧展示图 -->
			<div class="gsintro_right"> <!-- 商品右侧规格 -->
				<div class="gsname">裂帛2013春装 女装手摇绣假两件针织衫V领外套开衫21160051婉冶邮</div>
				<ul>
					<li>
						<span>市场价</span>
						<span class="mprice">￥<b>{$goodsInfo.mprice}</b>元</span>
					</li>
					<li>
						<span>商城价</span>
						<span class="sprice">￥<strong class="rsprice">{$goodsInfo.sprice}</strong>元</span>
					</li>
					<li>
						<span>点击率</span>
						<span class="mothSale"><b>{$goodsInfo.click}</b>次</span>
					</li>
					<li>
						<span>评&nbsp&nbsp&nbsp价</span>
						<span class="usersay">5分</span>
					</li>
				</ul>
				<div class="gsspec">
					<div class="ermsg">
						<p>请选择您要的商品信息</p>
						<span></span>
					</div>
					<div class="specblank"></div>
					<foreach name="goodsInfo.spec" key="specName" item="specVal">
						<dl class="speclist" typename="{$specName}">
							<dt>{$specName}</dt>
							<foreach name="specVal" item="val">
								<dd class="" id="{$val.id}">{$val.value}</dd>
							</foreach>
						</dl>
					</foreach>
					<input type="hidden" name="gsid" value="{$goodsInfo.id}">
					<dl class="gsum">
						<dt>数量</dt>
						<dd class="gn">
							<input type="text" value="1" style="text-align:center;" name="buynumber">
							<span class="add"></span>
							<span class="reduce"></span>
						</dd>
					</dl>
					<dl class="gstotal">
						<dt>库存</dt>
						<dd><span class="specInventory">{$goodsInfo.inventory}</span>{$goodsInfo.unit}</dd>
					</dl>
					<dl class="putincart">
						<dt></dt>
						<dd>
							<a href="javascript:void(0)" class="buynow" title="点击立即购买"></a>
						</dd>
						<dd>
							<a href="javascript:void(0)" class="ptic" title="点击加入购物车">
							</a>
						</dd>
					</dl>
					<dl class="wherego">
						<div class="wgone"></div>
						<div class="wgtwo">
							<p><span class="closemsg"></span></p>
							<p class="bt"><a href="{:U('Cart/index')}">去购物车结算</a></p>
							<p class="bt"><a href="">继续购物</a></p>
						</div>
					</dl>				
				</div>
				<div class="sumpirce">
					<span class="sump">小计:<b>{$goodsInfo.sprice}</b></span>
				</div>
			</div><!-- 商品右侧规格 -->
		</div><!-- 商品详情部分 -->
		<div class="gsshow"><!-- 商品图展示 -->
			<div class="hotsale">
				<p class="hstitle">热卖推荐</p>
				<ul>
					<li>
						<img src="__PUBLIC__/Index/images/T1J_b4XbRXXXc4_cZ9_073013.jpg_160x160.jpg" alt="" />
						<p>title</p>
						<p>一口价：￥198.00元</p>
					</li>
					<li>
						<img src="__PUBLIC__/Index/images/T1J_b4XbRXXXc4_cZ9_073013.jpg_160x160.jpg" alt="" />
						<p>title</p>
						<p>一口价：￥198.00元</p>
					</li>
					<li>
						<img src="__PUBLIC__/Index/images/T1J_b4XbRXXXc4_cZ9_073013.jpg_160x160.jpg" alt="" />
						<p>title</p>
						<p>一口价：￥198.00元</p>
					</li>
					<li>
						<img src="__PUBLIC__/Index/images/T1J_b4XbRXXXc4_cZ9_073013.jpg_160x160.jpg" alt="" />
						<p>title</p>
						<p>一口价：￥198.00元</p>
					</li>
					<li>
						<img src="__PUBLIC__/Index/images/T1J_b4XbRXXXc4_cZ9_073013.jpg_160x160.jpg" alt="" />
						<p>title</p>
						<p>一口价：￥198.00元</p>
					</li>
					<li>
						<img src="__PUBLIC__/Index/images/T1J_b4XbRXXXc4_cZ9_073013.jpg_160x160.jpg" alt="" />
						<p>title</p>
						<p>一口价：￥198.00元</p>
					</li>
					<li>
						<img src="__PUBLIC__/Index/images/T1J_b4XbRXXXc4_cZ9_073013.jpg_160x160.jpg" alt="" />
						<p>title</p>
						<p>一口价：￥198.00元</p>
					</li>
				</ul>
			</div>
			<div class="gsshowimgs">
				<div class="gsattr">
					<ul>
						<li class="selected">商品详情</li>
						<li class="">累计评价</li>
						<li class="">售后服务</li>
					</ul>
					<div class="gsdetails">
						<span class="gsbrand">
							品牌：{$goodsInfo.bname}<br/>
							<img src="{$goodsInfo.logo}" alt="{$goodsInfo.bname}" title="{$goodsInfo.bname}" width="100px" height="80px">
						</span>
						<span class="gsattrmsg">
							<ul>
								<foreach name="goodsInfo.attr" item="attrVal">
									<li>{$attrVal.name}：
										{$attrVal.value}
									</li>
								</foreach>
							</ul>
						</span>
						<span class="gsIntroimgs">
							{$goodsInfo.intro}
						</span>
					</div>
					<div class="gsusersay"></div>
					<div class="gsaftersale">
						{$goodsInfo.service}
					</div>
				</div>
			</div>
		</div><!-- 商品图展示 -->
		<!-- 网站声明信息 -->
		<div class="netsay">
			<ul>
				<li>
					<a href=""><img src="__PUBLIC__/Index/images/T2qwzmXihaXXXXXXXX_94153930.jpg" alt="" /></a>
				</li>
				<li>
					<a href=""><img src="__PUBLIC__/Index/images/T2_X1WXgpbXXXXXXXX_94153930.jpg" alt="" /></a>
				</li>
				<li>
					<a href=""><img src="__PUBLIC__/Index/images/T2VBu6XcNbXXXXXXXX_94153930.jpg" alt="" /></a>
				</li>
				<li>
					<a href=""><img src="__PUBLIC__/Index/images/T2SnPiXe8bXXXXXXXX_94153930.jpg" alt="" /></a>
				</li>
				<li>
					<a href=""><img src="__PUBLIC__/Index/images/T2qjDqXchXXXXXXXXX_94153930.jpg" alt="" /></a>
				</li>
			</ul>
			<div class="bottommsg">
			<b>版权声明</b>
			</div>
		</div><!-- 网站声明信息 -->
	</div>
	</body>
</html>